package com.vf.i.mvc.controller;

import java.util.List;

import com.jfinal.aop.Inject;
import com.jfinal.kit.StrKit;
import com.jfinal.log.Log;
import com.vf.core.controller.BaseController;
import com.vf.i.mvc.service.SceneLayerService;
import com.vf.s.common.model.biz.BizSceneMenu;

public class SceneLayerController extends BaseController {

	protected final Log LOG = Log.getLog(getClass());
	
	@Inject
	private SceneLayerService srv;
	
	
	public void get() {
		String sceneId = this.getPara("sceneId");
		String menuId = this.getPara("menuId");
		if(StrKit.isBlank(sceneId) || StrKit.isBlank(menuId)) {
			this.renderError("参数必填！");
			return;
		}

		List<BizSceneMenu> layers= srv.getLayers(sceneId,menuId);
		
	}
	
	
	public void getById() {
		String layerId = this.getPara("layerId");
		if(StrKit.isBlank(layerId)) {
			this.renderError("参数必填！");
			return;
		}
	}
	
	public void getCluster() {
		String layerId = this.getPara("layerId");
		if(StrKit.isBlank(layerId)) {
			this.renderError("参数必填！");
			return;
		}
	}
	

}
